home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20021006-20030409
/
000274_fdc@columbia.edu_Mon Feb 10 10:27:10 EST 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
4KB
|
87 lines
Article: 14070 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Serial Communications with a Keyspan Adapter on Mac OS X
Date: 10 Feb 2003 10:26:48 -0500
Organization: Columbia University
Lines: 70
Message-ID: <b28gbo$557$1@watsol.cc.columbia.edu>
References: <a42d788b.0302092140.545556cc@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1044890809 14121 128.59.39.139 (10 Feb 2003 15:26:49 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Feb 2003 15:26:49 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14070
In article <a42d788b.0302092140.545556cc@posting.google.com>,
Dan Tappin <dan@wavefront.ca> wrote:
: I am trying to talk to a APC UPS via kermit.
:
: I am running Mac OS X and and using a Keyspan serial adapter.
:
: I have a cable to connect the serial port to the UPS as descriped
: here:
:
: http://www.exploits.org/nut/
:
: It details the pin-out between a Mac serial port and an APC UPS.
:
: I have installed kermit but I can't seem to get a responce back from
: the unit. Here is an example:
:
: [junior:/usr/local/bin] admin% ./kermit
: C-Kermit 8.0.206, 24 Oct 2002, for Mac OS X 1.0
: Copyright (C) 1985, 2002,
: Trustees of Columbia University in the City of New York.
: Type ? or HELP for help.
: (/usr/local/bin/) C-Kermit>set line /dev/tty.USA28X11P1.1
: (/usr/local/bin/) C-Kermit>set carrier-watch off
: (/usr/local/bin/) C-Kermit>set speed 2400
: (/usr/local/bin/) C-Kermit>set serial 8n1
:
At this point, what does SHOW COMM say?
: No matter what command I send to the UPS I get no response back.
:
: Any ideas / pointers out there?
:
There are several components to the connection, so the trick is to
isolate the culprit.
. Can you use C-Kermit on Mac OS X to communicate with any other
serial devices through the same serial port? (For example, can
you use C-Kermit to dial an external modem, using a regular modem
cable?)
. Can you use any other terminal or emulator to communicate with
the UPS? (either on your Mac or on any other computer?)
Obviously the cable has to be right. I don't have hands-on access to
Mac OS X so have not been able to check its serial-port / modem
characteristics. I assume you chose the DB9-Din8 cable?
http://www.exploits.org/nut/library/cables/mac-940-0024C.png
But neither DB9 nor Din8 pin assignments are well standardized, so how
do we know the diagram applies to your setup?
Unix-based OS's tend to have multiple device names for the same physical
device, associated with different drivers (one for direct-connect, one for
modems, one for hardware flow control, one for dialing in, one for dialing
out, etc etc).
If the Mac has a Din-8 like earlier Macs, then it's RS-422, not RS-232,
and does not even have modem signals. So if the driver requires them,
you're out of luck; you'll need to switch to a direct-connect driver.
I assume the driver came with your Keyspan serial adapter? In that case,
you probably need to check with Keyspan about how to connect to the UPS
with three wires from Mac OS X.
Finally, you have to be sure the UPS itself does not require modem
signals (DTR, CD, CTS, DSR, etc), since the cable in the diagram is not
supplying them. And of course the speeds have to match, etc.
- Frank